import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {MaterialsComponent} from "./materials/materials.component";
import {RegulationsComponent} from "./regulations/regulations.component";
import {BigEventsComponent} from "./big-events/big-events.component";
import {BigEventsListComponent} from "./big-events/big-events-list.component";

const routes: Routes = [
  {
    path: '', children: [
      {path: 'materials', component: MaterialsComponent},
      {path: 'regulations', component: RegulationsComponent},
      {path: 'big-events', component: BigEventsComponent},
      {path: 'big-events-list', component: BigEventsListComponent}
    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class DispatchMaterialRoutingModule {
}
